Skip to content

Feature: Handle orphaned forms #7864

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 31 commits into
base: develop
Choose a base branch
from

Conversation

alaca
Copy link
Member

@alaca alaca commented Apr 7, 2025

Description

This PR adds functionality enabling users to associate orphaned donation forms with a campaign. Also, the donation form entity is added.

Affects

Admin settings

Visuals

Screen.Recording.2025-04-15.at.17.49.33.mov

Testing Instructions

You can delete all campaign form relations by running this query:

delete from wp_give_campaign_forms;

Go to Settings > Advanced > Advanced Options and enable the Orphaned Donation Forms option
Then go to Tools > Data > Orphaned donation forms

Select forms and associate them with a campaign

Pre-review Checklist

  • Acceptance criteria satisfied and marked in related issue
  • Relevant @unreleased tags included in DocBlocks
  • Includes unit tests
  • Reviewed by the designer (if follows a design)
  • Self Review of code and UX completed

@alaca alaca requested a review from jonwaldstein April 15, 2025 15:57
Copy link
Contributor

@jonwaldstein jonwaldstein left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@alaca awesome job, I just tested this locally and it worked great! I just added a couple suggestions for default meta values and one question, otherwise this is ready for QA 🌈

alaca and others added 3 commits April 16, 2025 20:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants